package models;

import javax.persistence.*;
import play.db.jpa.Model;

@Entity
public class Restaurant extends Model {
	public String name;
	public String category;
	@OneToOne
	public Address address;
	
	public Restaurant(String name, String category, Address address) {
		super();
		this.name = name;
		this.category = category;
		this.address = address;
	}
}
